package com.yxinsur.imc.business.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yxinsur.imc.business.domain.ImcPrerenewal;
import com.yxinsur.imc.business.form.PrerenewalCreateForm;
import com.yxinsur.imc.business.form.PrerenewalForm;
import com.yxinsur.imc.business.form.RealConfirmForm;
import com.yxinsur.imc.business.vo.PrerenewalVo;
import com.yxinsur.imc.business.vo.RealConfirmVo;

/**
 * 待导入续期主Service接口
 *
 * @author imc
 * @date 2021-05-26
 */
public interface IImcPrerenewalService  extends IService<ImcPrerenewal>
{
    /**
     * 查询待导入续期主列表
     *
     * @param prerenewalForm 待导入续期主
     * @return 待导入续期主集合
     */
    public List<PrerenewalVo> selectImcPrerenewalList(PrerenewalForm prerenewalForm);

    /**
     * 生成续期数据
     *
     * @param prerenewalCreateForm 待导入续期主
     * @return 结果
     */
    public int createPrerenewalData(PrerenewalCreateForm prerenewalCreateForm);

    /**
     * 确认导入到order_risk
     *
     * @param id 批次ID
     * @return 结果
     */
    public int confirmImportData(Long id);

    /**
     * 按批次撤销导入
     *
     * @param id 批次ID
     * @return 结果
     */
    public int cancelConfirm(Long id);
    /**
     * 移除数据
     *
     * @param id 批次ID
     * @return 结果
     */
    public int removeData(Long id);


    int realConfirm(RealConfirmForm realConfirmForm);


    RealConfirmVo realGetRates(RealConfirmForm realConfirmForm);
}
